﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Primitives="clr-namespace:Coding4Fun.Toolkit.Controls.Primitives">

    <Style TargetType="Primitives:LoopingSelector">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate>
                    <!--<Border Background="Transparent">-->
                    <Canvas x:Name="ItemsPanel">
                        <Canvas.RenderTransform>
                            <TransformGroup>
                                <TranslateTransform x:Name="CenteringTransform"/>
                                <TranslateTransform x:Name="PanningTransform"/>
                            </TransformGroup>
                        </Canvas.RenderTransform>
                    </Canvas>
                    <!--</Border>-->
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>